//
//  LCFxzcListDetailsTableViewController.m
//  JKFuYinProject
//
//  Created by jiukuyinyue on 2017/9/8.
//  Copyright © 2017年 LC. All rights reserved.
//

#import "LCFxzcListDetailsTableViewController.h"
#import "LCFxzcListDetailsTableViewCell.h"

#define LCFxzcListDetailsCell @"LCFxzcListDetailsCell"

@interface LCFxzcListDetailsTableViewController ()

@end

@implementation LCFxzcListDetailsTableViewController

- (void)viewDidLoad {
    [super viewDidLoad];
     self.title = @"奉献明细";
     [self.tableView registerNib:[UINib nibWithNibName:@"LCFxzcListDetailsTableViewCell" bundle:nil] forCellReuseIdentifier:LCFxzcListDetailsCell];
}
 
#pragma mark - Table view data source
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {

    return 1;
}

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
    return 11;
}


- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
    LCFxzcListDetailsTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:LCFxzcListDetailsCell forIndexPath:indexPath];
    cell.backgroundColor = arc4random_color;//调用随机色
    return cell;
}
-(CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{
    CGFloat height;
    height = 120;
    return height;
}
@end
